#ifndef _ML_DATASET_DISTRIBUTION_GENERATOR_H_
#define _ML_DATASET_DISTRIBUTION_GENERATOR_H_
#include "MLCommon.h"
#include "MLDataPoint.h"
#include "MLDataSet.h"
_MYLABLIB_BEGIN

class CMLTools_DistributionGenerator
{
public:
	// Constructor and Destructor
	CMLTools_DistributionGenerator(void);
	~CMLTools_DistributionGenerator(void);

public:
	// Methods
	int Initialize(int nNumBucket);
	int Generate(const CMLDataSet& dataSet, CMLDataSet& Probs);

private:
	// Tools
	int FindRange(const CMLDataSet& dataSet, CMLDataPoint& min, CMLDataPoint& max);
	

private:
	// Fields
	int m_nNumBucket;
};


_MYLABLIB_END
#endif
